odhcpd: rename iface->addr4 -> iface->oaddrs4
authorDavid Härdeman <[email protected]>
Mon, 17 Nov 2025 22:58:48 +0000 (23:58 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Thu, 27 Nov 2025 07:23:50 +0000 (08:23 +0100)
commit75dfe0e71050374a04cead57924bc58e9b27dd70
tree136aa4b3f875c5fcc38a5fd66265e220c94c925c
parent66e7739f7c86a45cb9da06affb26ef951b0649e5
odhcpd: rename iface->addr4 -> iface->oaddrs4

Rename iface->addr4 to iface->oaddrs4, to make it clearer from a cursory
glance that this isn't e.g. "struct in_addr" addresses but a number of
"struct odhcpd_ipaddr" addresses.

At the same time, rename iface->addr4_len to iface->oaddrs4_cnt, to make
it clear that this is a count and not e.g. an allocation length.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/320
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/config.c
src/dhcpv4.c
src/netlink.c
src/odhcpd.h